const expect=require('chai').expect;


describe('least-不小于',()=>{

    it('2>=1',()=>{
        expect(2).least(1);
    });

    it('2>=2',()=>{
        expect(2).least(2);
    });

    it('string.length',()=>{
        expect('abcd').length.least(4);
    });

    it('[1,2,3,4].length',()=>{
        expect([1,2,3,4]).length.least(4);
    });

    it('[1,2,3,4].length',()=>{
        expect([1,2,3,4].length).least(3);
    });
    
});